<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<h1>Add HotelMapping</h1>

<script type="text/javascript" src="${contextPath}/static/script/jquery/jquery-1.4.2.js"></script>
<script type="text/javascript" src="${contextPath}/static/script/jquery/jquery.validate.js"></script>
<script type="text/javascript" language="JavaScript">
    $(function () {
        $("#add-hotel-mapping").validate();
    })
</script>
<div class="main">
    <form method="post" id="add-hotel-mapping" action="batchImport.dhtml">
        <div align="right">
            <ul>
                <li>
                    <input class="common_button" type="submit" value="submit"/>
                    &nbsp;
                    <input class="common_button" type="button" value="Back"
                           onclick="window.location.href='./list.dhtml'"/>
                </li>
            </ul>
        </div>
        <table class="search_hotel box_side clearfix property_table">
            <tr>
                <td>Attention: Just support at most 500 lines and others will be ignored.<br><br>
                PropertyID|Passport|Name|Status<br>
                888|LOWCOSTBEDS-888|Aqua Hotel Bertran|ENABLED<br>
                999|LOWCOSTBEDS-999|Hotel & Spa Ferrer Janeiro|ENABLED<br>
                </td>
            </tr>
            <tr>
                <td><label>
                    <textarea name="hotels" rows="500" cols="200"></textarea>
                </label></td>
            </tr>
        </table>
    </form>
    ${result}
</div>
